from Page import Page
from selenium import webdriver
from selenium.webdriver.common.by import By

class TestCase(Page):
    def Driver(self):
        self.driver = webdriver.Edge()
        #放大
        self.driver.maximize_window()
        # self.driver.implicitly_wait(10)
        #排序
        yield self.driver
        #退出浏览器
        self.driver.quit()


    def test_Testcase(self):
        po = self.Driver()
        po.send(self.test_baidutieba_01())